package com.mybatis.service;

import com.mybatis.entity.Employee;
import org.springframework.stereotype.Service;

import java.util.List;

public interface EmployeeService {


    /**
     * 查询全部数据
     * @return
     */
    List<Employee> list();

    void delete(Integer id);


    void save(Employee employee);

    int getById(Integer id);
    void remove(Employee employee);


}
